#pragma once
#include "Object.h"
#include "VideoDriver.h"

/*
Plane is design as a line with 2 points from (posX, posY) to (posX2, posY2)
*/

class Plane :
	public Object
{
public:
	Plane(void);
	~Plane(void);

	void Render();
	void Update(float frameTime);
	
	bool IsInRect(int x, int y);
	void HandleTouchAction(Touch *touch);

	void SetPostionEndPoint(int posX2, int posY2);

private:
	int m_iPositionX2, m_iPositionY2; //

};
